3.6
LOW CVSS 3.1
CVE-2025-61984
OpenSSH SSH Command Injection
Description

ssh in OpenSSH before 10.1 allows control characters in usernames that originate from certain possibly untrusted sources, potentially leading to code execution when a ProxyCommand is used. The untrusted sources are the command line and %-sequence expansion of a configuration file. (A configuration file that provides a complete literal username is not categorized as an untrusted source.)

INFO

Published Date :

Oct. 6, 2025, 7:15 p.m.

Last Modified :

Oct. 8, 2025, 7:38 p.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2025-61984 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Openbsd openssh
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 LOW [email protected]
Solution
Update OpenSSH to version 10.1 or later to mitigate username-related code execution risks.
  • Update OpenSSH to version 10.1 or later.
  • Validate usernames from untrusted sources.
  • Sanitize usernames before processing.
  • Configure ProxyCommand securely.
Public PoC/Exploit Available at Github

CVE-2025-61984 has a 3 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-61984.

URL Resource
https://marc.info/?l=openssh-unix-dev&m=175974522032149&w=2
https://www.openssh.com/releasenotes.html#10.1p1
https://www.openwall.com/lists/oss-security/2025/10/06/1
https://dgl.cx/2025/10/bash-a-newline-ssh-proxycommand-cve-2025-61984
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-61984 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-61984 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Shell

Updated: 2 days ago
1 stars 0 fork 0 watcher
Born at : Oct. 13, 2025, 1:42 a.m. This repo has been linked 1 different CVEs too.

PoC for OpenSSH ProxyCommand CVE-2025-61984

Shell

Updated: 1 week, 1 day ago
4 stars 7 fork 7 watcher
Born at : Oct. 7, 2025, 3:17 a.m. This repo has been linked 1 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 1 day, 3 hours ago
7335 stars 1209 fork 1209 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 827 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-61984 vulnerability anywhere in the article.

  • Daily CyberSecurity
Zimbra XSS Zero-Day (CVE-2025-27915) Actively Exploited; CISA Adds to KEV Catalog

A cross-site scripting (XSS) vulnerability in Synacor Zimbra Collaboration Suite (ZCS) — tracked as CVE-2025-27915 — has been confirmed to be actively exploited in the wild, prompting CISA to add the ... Read more

Published Date: Oct 08, 2025 (1 week, 5 days ago)
  • Daily CyberSecurity
OpenSSH Flaw (CVE-2025-61984) Allows Remote Code Execution via Usernames

Security researcher David Leadbeater has disclosed a vulnerability in OpenSSH, identified as CVE-2025-61984, which highlights how even minor quirks in command-line parsing and shell behavior can open ... Read more

Published Date: Oct 08, 2025 (1 week, 5 days ago)
  • CybersecurityNews
OpenSSH Vulnerability Exploited Via ProxyCommand to Execute Remote Code – PoC Released

A new command injection vulnerability in OpenSSH, tracked as CVE-2025-61984, has been disclosed, which could allow an attacker to achieve remote code execution on a victim’s machine. The vulnerability ... Read more

Published Date: Oct 07, 2025 (1 week, 6 days ago)

The following table lists the changes that have been made to the CVE-2025-61984 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Oct. 07, 2025

    Action Type Old Value New Value
    Added Reference https://dgl.cx/2025/10/bash-a-newline-ssh-proxycommand-cve-2025-61984
  • New CVE Received by [email protected]

    Oct. 06, 2025

    Action Type Old Value New Value
    Added Description ssh in OpenSSH before 10.1 allows control characters in usernames that originate from certain possibly untrusted sources, potentially leading to code execution when a ProxyCommand is used. The untrusted sources are the command line and %-sequence expansion of a configuration file. (A configuration file that provides a complete literal username is not categorized as an untrusted source.)
    Added CVSS V3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
    Added CWE CWE-159
    Added Reference https://marc.info/?l=openssh-unix-dev&m=175974522032149&w=2
    Added Reference https://www.openssh.com/releasenotes.html#10.1p1
    Added Reference https://www.openwall.com/lists/oss-security/2025/10/06/1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 3.6
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact